package com.ruoyi.monitorTools.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 电子围栏列表
 * @TableName a2_electronic fence
 */
@TableName(value ="a2_electronic_fence")
@Data
public class ElectronicFence implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long taskId;

    /**
     * 
     */
    private Long regionId;

    /**
     * 2 未启用 1启用
     */
    private Integer enableStatus;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 
     */
    private String createBy;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField(exist = false)
    private String regionName;

    @TableField(exist = false)
    private String regionGeojson;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}